﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DunLibrary.Core;
using DunLibrary.Client;
using DunLibrary.Dun;

namespace DunLibrary.CreditCard
{
    /// <summary>
    /// 信用卡
    /// </summary>
    public interface ICreditCard:IItem
    {
        /// <summary>
        /// 银行
        /// </summary>
        Company Bank { get; set; }
        /// <summary>
        /// 持卡人
        /// </summary>
        Cardholder Holder { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        string CardType { get; set; }
        /// <summary>
        /// 显示编号(屏蔽中间4位数字)
        /// </summary>
        string DisplayNumber { get; }
        /// <summary>
        /// 主副卡标记
        /// </summary>
        string MainAddSymbol { get; set; }
        /// <summary>
        /// 帐号
        /// </summary>
        string AccountNo { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        string CardStatus { get; set; }
        /// <summary>
        /// 发卡时间
        /// </summary>
        DateTime GrantTime { get; set; }
        /// <summary>
        /// 延期级别
        /// </summary>
        string DelayLevel { get; set; }
        /// <summary>
        /// 累计还款额
        /// </summary>
        double TotalReturnAmount { get; set; }
        /// <summary>
        /// 信用卡记录的联系方式(家庭住址、工作地点、电话、qq、msn等)
        /// </summary>
        //IList<CardholderContact> Contacts { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        //IList<RelationPerson> RelationPersons { get; set; }
        /// <summary>
        /// 回款记录
        /// </summary>
        IList<ReturnRecord> ReturnRecords { get; set; }
        
        /// <summary>
        /// 导入时间
        /// </summary>
        DateTime ImportTime { get; set; }


    }
}
